{if $context=="menu"}

	{if $options.partial=="leftmenu" && $content.name}
		<h2>{$content.name}</h2>
	{/if}
	
	{if $options.partial=="leftmenuwot"}
		<br /><br /><br /><br /><br />
	{/if}

	{$content.menu}

{/if}

{if $context=="dependsmenu"}

	{if $content.categories}
		<div {if $options.color!="default"} class="widget {$options.color}"{/if}>
			{if $content.subtitle}<h2>{$content.subtitle} {$content.name}</h2>{/if}
			<ul>
				{foreach from=$content.categories item=data}
					<li><a href="{$cnf.baseurl}{$data.fullpath}">{$data.menuname}</a></li>
				{/foreach}
			</ul>
		</div>  
	{/if}

{/if}

